package com.ctg.itrdc.sysmgr.portal.data.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.pasp.core.Entity;


@Table(name = "PLAT_INFO")
public class PlatInfo extends Entity<Long> {
	private static final long serialVersionUID = -2811347047325737314L;


	/**
	 * 平台标识，主键。
	 */
	@Id
	@Column(name = "PLAT_ID")
	private Long platId;

	/**
	 * 记录创建的员工。
	 */
	@Column(name = "CREATE_STAFF")
	private Long createStaff;

	/**
	 * 记录修改的时间。
	 */
	@Column(name = "UPDATE_DATE")
	private Timestamp updateDate;

	/**
	 * 记录备注信息
	 */
	@Column(name = "REMARK")
	private String remark;

	/**
	 * 状态变更的时间。
	 */
	@Column(name = "STATUS_DATE")
	private Timestamp statusDate;

	/**
	 * 租户标识。
	 */
	@Column(name = "TENANT_ID")
	private Integer tenantId;

	/**
	 * 平台归属区域。
	 */
	@Column(name = "COMMON_REGION_ID")
	private Integer commonRegionId;

	/**
	 * 分片键1，固定值-1。
	 */
	@Column(name = "SHARD1")
	private Long shard1;

	/**
	 * 记录修改的员工。
	 */
	@Column(name = "UPDATE_STAFF")
	private Long updateStaff;

	/**
	 * 分片键2，固定值-1。
	 */
	@Column(name = "SHARD2")
	private Long shard2;

	/**
	 * 平台当前状态。
	 */
	@Column(name = "STATUS_CD")
	private String statusCd;

	/**
	 * 在用版本号
	 */
	@Column(name = "USE_VERSION")
	private String useVersion;

	/**
	 * 平台名称。
	 */
	@Column(name = "PLAT_NAME")
	private String platName;

	/**
	 * 记录创建的时间。
	 */
	@Column(name = "CREATE_DATE")
	private Timestamp createDate;

	/**
	 * 系统编码,来源VSOP的system_code
	 */
	@Column(name = "PLAT_SYS_NBR")
	private String platSysNbr;

	/**
	 * 创建版本号
	 */
	@Column(name = "CRT_VERSION")
	private String crtVersion;


	public void setPlatId(Long platId){
		this.platId = platId;
	}

	public Long getPlatId(){
		return this.platId;
	}

	public void setCreateStaff(Long createStaff){
		this.createStaff = createStaff;
	}

	public Long getCreateStaff(){
		return this.createStaff;
	}

	public void setUpdateDate(Timestamp updateDate){
		this.updateDate = updateDate;
	}

	public Timestamp getUpdateDate(){
		return this.updateDate;
	}

	public void setRemark(String remark){
		this.remark = remark;
	}

	public String getRemark(){
		return this.remark;
	}

	public void setStatusDate(Timestamp statusDate){
		this.statusDate = statusDate;
	}

	public Timestamp getStatusDate(){
		return this.statusDate;
	}

	public void setTenantId(Integer tenantId){
		this.tenantId = tenantId;
	}

	public Integer getTenantId(){
		return this.tenantId;
	}

	public void setCommonRegionId(Integer commonRegionId){
		this.commonRegionId = commonRegionId;
	}

	public Integer getCommonRegionId(){
		return this.commonRegionId;
	}

	public void setShard1(Long shard1){
		this.shard1 = shard1;
	}

	public Long getShard1(){
		return this.shard1;
	}

	public void setUpdateStaff(Long updateStaff){
		this.updateStaff = updateStaff;
	}

	public Long getUpdateStaff(){
		return this.updateStaff;
	}

	public void setShard2(Long shard2){
		this.shard2 = shard2;
	}

	public Long getShard2(){
		return this.shard2;
	}

	public void setStatusCd(String statusCd){
		this.statusCd = statusCd;
	}

	public String getStatusCd(){
		return this.statusCd;
	}

	public void setUseVersion(String useVersion){
		this.useVersion = useVersion;
	}

	public String getUseVersion(){
		return this.useVersion;
	}

	public void setPlatName(String platName){
		this.platName = platName;
	}

	public String getPlatName(){
		return this.platName;
	}

	public void setCreateDate(Timestamp createDate){
		this.createDate = createDate;
	}

	public Timestamp getCreateDate(){
		return this.createDate;
	}

	public void setPlatSysNbr(String platSysNbr){
		this.platSysNbr = platSysNbr;
	}

	public String getPlatSysNbr(){
		return this.platSysNbr;
	}

	public void setCrtVersion(String crtVersion){
		this.crtVersion = crtVersion;
	}

	public String getCrtVersion(){
		return this.crtVersion;
	}

	@Override
	public Long getId() {
		return platId;
	}
	
	@Override
	public void setId(Long id) {
		this.platId = id;
	}
	
	public PlatInfo() {
		super();
    }
}
